package com.example.mybatis.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class XwTest {

    private Integer id;
    private String name;
    private String phone;

    @DateTimeFormat(pattern = "yyyy-MM-dd hh:mm:ss")
    private Date creatTime;

}
